#ifndef ZHANGYU_H
#define ZHANGYU_H

#include <QGraphicsPixmapItem>
#include <QObject>
#include <QWidget>
#include <QList>
#include <QPixmap>
class zhangyu : public QGraphicsPixmapItem
{
public:
    zhangyu();
    zhangyu(qreal ceil,qreal floor,qreal sx,QPixmap p1,QPixmap p2);
    QList<QPixmap> zhangyuAction;
    qreal Ceil,Floor,Sx;
    bool dir=1;//向上为1
    int cnt=0;
    QRectF boundingRectF();
};

#endif // ZHANGYU_H
